zero-conf channels

2021-12-12 ยท 1 min read

    https://medium.com/breez-technology/lightning-payment-channels-a-flavor-for-every-palette-53cb975907ea

    [bitcoin-dev] [Opt-in full-RBF] Zero-conf apps in immediate danger

    def: zero-conf app

    Accepts on-chain payment from untrusted party and possibly delivers product/service depending on risk factors.

    Risk Analysis:

    1. If incoming txn is RBF (direct or inherited)
      • then the txn is too risky; wait for 1+ conf, since it can be replaced at any time
    2. If the payment amount is for an amount greater than X
      • then the txn is too risky; wait for 1+ conf, since the amount is worthy of a sophisticated attacker
    3. Else
      • wait for txn to propagate through mempool
      • If there's no double-spend attempt, then accept zero-conf.

    If receiving from fully untrusted third parties, zero-conf apps should be willing to tolerate an expected loss.

    https://github.com/lightning/bolts/issues/565#issuecomment-460601680

    https://bitcoinops.org/en/topics/zero-conf-channels/